/*******************************************************************************
 * -------
 *   Copyright 2011 @ Fluid India Consultancy
 *   All Rights Reserved
 * -------
 ******************************************************************************/
package org.fluidindia.core.vo;

import java.util.ArrayList;
import java.util.List;

public abstract class BaseVO
{
    public static String SUCCESS = "SUCCESS";

    public static String FAIL    = "FAIL";

    public static String WARNING = "WARNING";

    private String       status;

    private List<String> errors  = new ArrayList<String>();

    
    public BaseVO()
    {
    }


    public String getStatus()
    {
        return this.status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
    
    public void addError(String error)
    {
        this.errors.add(error);
    }
    
    public List<String> getErrors()
    {
        return this.errors;
    }
}
